
export const uniUtil = (title: string, icon: "success" | "loading" | "error" | "none" | undefined) => {
    uni.showToast({
        title,
        icon,
    })
}

export const toastTxt = (title: string) => uniUtil(title, 'none')


export const goUrl = (url: string) => {
    uni.navigateTo({
        url
    })
}
